const http = require("http");

const server = http.createServer((req, res) => {
  console.log(req, res);
  res.end("服务启动");
});

server.listen(1234, () => {
  console.log("server is running");
});
